﻿using Abp.Application.Services;
using AVIS.OutBound.AWD.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.AWD
{
    /// <summary>
    /// Avis全球折扣号，全称为：Avis Worldwide Discount
    /// </summary>
    public interface IAWDAppService : IApplicationService
    {
        /// <summary>
        /// 校验AWD验证码
        /// </summary>
        /// <param name="input">输入参数：AWD号和密码</param>
        /// <returns></returns>
        bool CheckAWD(CheckAWDInput input);

        /// <summary>
        /// 是否需要验证密码
        /// </summary>
        /// <param name="input">输入参数：AWD号</param>
        /// <returns></returns>
        NeedCheckAWDOutput NeedCheckAWD(NeedCheckAWDInput input);
    }
}
